package com.bs.visitservice.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bs.visitservice.dao.ProductMapper;
import com.bs.visitservice.entity.Product;
import com.bs.visitservice.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
* @author idea
* @date 2020-02-06 09:13
**/
@Service
public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> implements ProductService{
    @Autowired
    private ProductMapper productMapper;

    @Override
    public List<Map<String,Object>> queryOrderProduct(Long orderNo) {
        return productMapper.queryOrderProduct(orderNo);
    }
}